
/*
 *  Whether use logs
 */
#define USE_FILE_LOGGER 


#ifdef USE_FILE_LOGGER 

#include <flogger.h> 
_LIT(KLogFile,"EasyBounce.log"); 
_LIT(KLogFolder,"EasyBounce"); 

// write a text LOGS to log file
#define EASYLOG(LOGS)	RFileLogger::Write(KLogFolder,KLogFile,EFileLoggingModeAppend,LOGS)

// format a variable to text and write it to log file
#define EASYLOGFORMAT(LOGS,ARG)           RFileLogger::WriteFormat(KLogFolder, \
                                                                KLogFile, \
                                                                EFileLoggingModeAppend, \
                                                                (LOGS), \
                                                                (ARG))
// format two variable to text and write it to log file
#define EASYLOGFORMAT2(LOGS,ARG1,ARG2)           RFileLogger::WriteFormat(KLogFolder, \
                                                                KLogFile, \
                                                                EFileLoggingModeAppend, \
                                                                (LOGS), \
                                                                (ARG1), \
                                                                (ARG2) )


#endif // USE_FILE_LOGGER 

// End Of File 
